package com.example.JavaWebApi.service.systemService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.JavaWebApi.model.entity.systemEntity.Dictionary;

import java.util.List;

/**
 * @program: adks.process-api
 * @description:
 * @author: 杨泽
 * @create: 2022-05-05 16:59
 */
public interface IDictionaryService extends IService<Dictionary> {
    List<Dictionary> getListByParentId(int parentId);
    List<Dictionary> getTreeList();
    IPage<Dictionary> getLazyNode(Integer parentId,int page,int limit);
    boolean createNode(Dictionary entity);
    boolean updateNode(Dictionary entity);
    boolean deleteNode(int id);
}
